package tld.lxcloud.chatdemo.model;

import lombok.Data;

/**
 * ChatMessage
 *
 * @Author zhujinrun
 * @Since 2024/1/31 13:13
 */
@Data
public class ChatMessage {
    private MessageType type;
    private String content;
    private String sender;

    public enum MessageType {
        CHAT,
        JOIN,
        LEAVE,
        NOTIFY,
    }
}